//
//  MZReadingDetailView.m
//  WHISPER
//
//  Created by lanou3g on 15/12/19.
//  Copyright © 2015年 王艳苹. All rights reserved.
//

#import "MZReadingDetailView.h"

@implementation MZReadingDetailView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self setupView];
    }
    return self;
}
- (void)setupView{
    _topView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 64, CGRectGetWidth(self.frame), 40)];
    _topView.backgroundColor = [UIColor whiteColor];
    [self addSubview:_topView];
    
    _tableScr = [[UIScrollView alloc] initWithFrame:CGRectMake(0, CGRectGetMaxY(self.topView.frame), CGRectGetWidth(self.frame), CGRectGetHeight(self.frame) - CGRectGetMaxY(self.topView.frame))];
    [self addSubview:_tableScr];
}
@end
